Release 10.1A: OpenEdge Reporting:
Report Builder Deployment
Running Report Engine from an application
This section describes how to run reports from Progress 4GL applications. It contains the following examples:
- Running reports with a simple filter override (
rbfilt3.p).- Prompting for user input for the printer information (
rbprint2.p).- Prompting for user input for the filter information (
rbfilt4.p).- Running multiple reports in a batch (
rbbatch.p).- Running multiple reports and prompting for user input (
rbprompt.p).- Overriding database connection information (
rbdbconn.p).All the samples illustrate how to run Report Engine with a local multi-user database. The samples use the
rbsample.prlreport library and the OpenEdge Sports database. Therbsample.prlreport library is located in%DLC%\SRC\aderb.You can run reports from a 4GL application by running the
_printrb.pprocedure. This procedure runs the report using the parameters you specify. You specify the desired parameters for each report in theRUNstatement when you run Report Engine.
![]()
To run a report with Report Engine:
- Create the report definition in Report Builder.
- Use the following command in the Progress 4GL application:
Note: Parameters are described in Chapter 3, " Report Engine Parameters."
Remember that the startup parameters in
PROSTARTUPandRBSTARTUPfiles apply to the PRINTRB and PRNTRB2 interfaces even though there is no explicit command line available.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |